package org.tissou.server.importer;

import java.util.List;
import java.util.Arrays;
import java.io.File;
import java.io.FilenameFilter;

/**
 * Created by IntelliJ IDEA.
 * User: Manu
 * Date: 25 juil. 2009
 * Time: 15:07:48
 * To change this template use File | Settings | File Templates.
 */
public class DossierPleinDeFichiers {
  private String dossier;

  public DossierPleinDeFichiers(String dossier) {
    this.dossier = dossier;
  }

  public List<File> tousLesFichiers() {
    File dir = new File(dossier);
    return Arrays.asList(dir.listFiles());
  }
}
